﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using System.Data;
using KPIS.GERP.GHRMS.DAL;
using KPIS.GERP.GHRMS.MODEL;
using KPIS.GERP.GHRMS.IBLL;
using KPIS.GERP.GHRMS.IDAL;
using KPIS.GERP.GHRMS.DALFactory;

namespace KPIS.GERP.GHRMS.BLL
{
    public sealed class MasMaritalStatusBLL : IMasMaritalStatusBLL
    {
        private static readonly IMasMaritalStatusDAL DAL = DataAccess.CreateMasterMaritalStatus();

        public IList<MasMaritalStatusInfo> ListMaritalStatus(Nullable<int> Sequence)
        {
            MasMaritalStatusInfo info = new MasMaritalStatusInfo();

            info.Sequence = Sequence.HasValue ? (int)Sequence : 0;

            return DAL.ListMaritalStatus(info);
        }

    }
}
